{include file="header.html"}
<div id="rightTop">
  <p>推荐管理</p>
  <ul class="subnav">
    <li><a class="btn1" href="index.php?app=o2orecommend">{$lang.recommend}</a></li>
  </ul>
</div>
<div class="mrightTop">
  <div class="fontl"> 
    <form method="get">
        <div class="left">
        <input type="hidden" name="app" value="o2orecommend" />
        <input type="hidden" name="act" value="index" />
        推荐位置:
        <select class="querySelect" name="recom_id">
            <option value="">--请选择</option>
            {html_options options=$recommends selected=$smarty.get.recom_id}
        </select>
        店铺铺号:
        <input class="queryInput" type="text" name="store_no" value="{$smarty.get.store_no|escape}" />
        {$lang.store_name}:
        <input class="queryInput" type="text" name="store_name" value="{$smarty.get.store_name|escape}" />
        <input type="submit" class="formbtn" value="{$lang.query}" />
        </div>
    </form>
  </div>
  <div class="fontr">{include file=page.top.html} </div>
</div>
<div class="tdare">
  <table width="100%" cellspacing="0" class="dataTable">
    <tr class="tatr1">
      <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
      <td width="10%">推荐ID</td>
      <td width="10%">店铺铺号</td>
      <td width="10%">所在楼层</td>
      <td width="20%">店铺名称</td>
      <td width="40%">主营产品</td>
      <td width="10%">推荐排序</td>
    </tr>
    <!--{foreach from=$storeo2o_list item=store}-->
    <tr class="tatr2">
      <td class="firstCell"><input type="checkbox" class="checkitem" value="{$store.id}" /></td>
      <td>{$store.id}</td>
      <td>{$store.store_no}</td>
      <td>{$store.store_floor}</td>
      <td>{$store.store_name|escape}</td>
      <td>{$store.products|escape}</td>
      <td><span ectype="inline_edit" fieldname="sort" fieldid="{$store.id}-{$store.store_id}" class="editable" title="{$lang.editable}">{$store.recom_sort}</span></td>
    </tr>
    <!--{foreachelse}-->
    <tr class="no_data">
      <td colspan="5">{$lang.no_data}</td>
    </tr>
    <!--{/foreach}-->
  </table>
  <div id="dataFuncs">
    <div id="batchAction" class="left paddingT15"> &nbsp;&nbsp;
      <input class="formbtn batchButton" type="button" value="{$lang.unrecommend}" name="id" uri="index.php?app=o2orecommend&act=drop_store_from" />
    </div>
  </div>
  <div class="pageLinks"> {if $storeo2o_list}{include file=page.bottom.html}{/if} </div>
  <div class="clear"></div>
</div>
{include file="footer.html"} 